package com.zc.timedown.service;

import com.zc.timedown.domain.Achievement;
import com.zc.timedown.vo.AchievementVo;

import java.util.List;

/**
 * ClassName:ApiAchievementService
 * Description:
 * DateTime: 2025/10/22 14:04
 * Author: zc
 * Version: 1.0
 */
public interface ApiAchievementService {

    /**
     * 获取用户成就列表
     * @param userId 用户ID
     * @return 成就列表
     */
    List<AchievementVo> getUserAchievements(Long userId);

    int insertAchievement(Achievement achievement);
}
